package com.cn.entity;

import java.util.Date;

public class EbNews {
    private Integer enId;

    private String enTitle;

    private String enContent;

    private Date enCreateTime;

    public EbNews() {
    }

    public EbNews(Integer enId, String enTitle, String enContent, Date enCreateTime) {
        this.enId = enId;
        this.enTitle = enTitle;
        this.enContent = enContent;
        this.enCreateTime = enCreateTime;
    }

    public Integer getEnId() {
        return enId;
    }

    public void setEnId(Integer enId) {
        this.enId = enId;
    }

    public String getEnTitle() {
        return enTitle;
    }

    public void setEnTitle(String enTitle) {
        this.enTitle = enTitle;
    }

    public String getEnContent() {
        return enContent;
    }

    public void setEnContent(String enContent) {
        this.enContent = enContent;
    }

    public Date getEnCreateTime() {
        return enCreateTime;
    }

    public void setEnCreateTime(Date enCreateTime) {
        this.enCreateTime = enCreateTime;
    }

    @Override
    public String toString() {
        return "EbNews{" +
                "enId=" + enId +
                ", enTitle='" + enTitle + '\'' +
                ", enContent='" + enContent + '\'' +
                ", enCreateTime=" + enCreateTime +
                '}';
    }
}